/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package com.rie06.openvoip.client;

import com.rie06.openvoip.sound.AudioPlayer;
import java.util.*;

/**
 * Cette classe permet de créer de l'audio chez un client
 * 
 */
public class ConversationPlayer extends AudioPlayer {

    private Conversation conversation;
    private Queue<byte[]> vectorSound;

    public ConversationPlayer(Conversation conversation) {
        super();
        this.conversation = conversation;
        this.vectorSound = new LinkedList<byte[]>();
    }

    @Override
    public Queue getSound() {
            return vectorSound;
    }
}
